using System;

namespace QuickTest.Core.TestRunner
{
    /// <summary>
    /// The ITestRunner interface supports events raised by the test runner.
    /// </summary>
    public interface ITestEvents
    {
        event EventHandler<TestRunStartedEventArgs> RunStarted;

        event EventHandler<TestEventArgs> TestFinished;

        event EventHandler<TestRunFinishedEventArgs> RunFinished;

        void RaiseRunStarted(TestRunStartedEventArgs e);

        void RaiseTestFinished(TestEventArgs e);

        void RaiseRunFinished(TestRunFinishedEventArgs e);
    }
}